package com.boco.pciv.service.shiro;

import org.apache.shiro.web.session.mgt.DefaultWebSessionManager;

public class MyWebSessionManager extends DefaultWebSessionManager {
    public MyWebSessionManager(){
        super();
        //修改session id名称 默认名称会在系统异常后 容器会为JSESSIONID重新分配值导致登录会话丢失!
        this.getSessionIdCookie().setName("JSESSIONID_NSCS");
    }
}
